home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 3
/
Aminet 3 - July 1994.iso
/
Aminet
/
gfx
/
pbm
/
source1.lha
/
netpbm
/
mantocat
< prev
next >
Wrap
Text File
|
1993-10-04
|
301b
|
18 lines
#!/bin/sh
#
# Shell script which reads the man pages in nroff format, calls nroff, and produces cat files.
#
# Syntax: mancp source dest
#
# Example: mancp pgm.5 /usr/local/man/cat5/pgm.0
#
# Oliver Trepte, 93-07-05
#
#
TMP=/tmp/mancp$$
nroff -man $1 > $TMP
cp $TMP $2
rm -f $TMP
echo "Done with $2"